package com.it.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.common.domain.dos.UserDO;
import org.apache.ibatis.annotations.Param;

/**
 * @author yu
 * @date 2024/12/23
 * @description: TODO
 */

public interface UserMapper extends BaseMapper<UserDO> {

    /**
     * @param username
     * @return
     */
    UserDO getUserByUserName(String username);

    int updatePasswordByUsername(@Param("username") String username, @Param("password") String password);

}
